package cn.org.qary.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderRecord {

  @Id
  @KeySql(useGeneratedKeys = true)
  private Integer id;
  private String orderId;
  private Integer productId;
  private Integer amount;


}
